package com.example.liming39.myapplication.feature;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;


/**
 * @author liming39
 */
public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Intent intent = new Intent(MainActivity.this, MyService.class);
        startService(intent);
    }

    @Override
    protected void onResume() {
        super.onResume();
        //this.finish();
    }
}
